package cn.ldf.keepaccounts.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author ldf
 * @code May there be no bugs in the world!
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "wx")
public class WxConfig {
    /**
     * 微信小程序应用id
     */
    private String appId;
    /**
     * 微信小程序应用密钥
     */
    private String secret;
    /**
     * 微信小程序获取token路径
     */
    private String accessTokenUrl;
    /**
     * 微信小程序获取二维码url
     */
    private String generateQrCodeUrl;
    /**
     * 微信小程序获取openId路径
     */
    private String getOpenIdUrl;
}
